package cn.com.assistant.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "注册信息实体")
public class PubUserPOJO {

    @ApiModelProperty(value = "id")
    private String id;

//    @ApiModelProperty("签名")
//    private String sign;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "确认密码")
    private String confirmPwd;

    @ApiModelProperty(value = "电话号码")
    private String phone;

    @ApiModelProperty(value = "用户类型，传0或1")
    private Integer userType;

    @ApiModelProperty(value = "创建人")
    private String createdUser;

    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )
    @ApiModelProperty(value = "创建时间")
    private String createdDate;

    @ApiModelProperty(value = "更新人")
    private String updatedUser;

    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )
    @ApiModelProperty(value = "更新时间")
    private String updatedDate;
}
